Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Nudge Directions

The direction parameter to the function QTVRNudge specifies the direction in which to nudge the current view. You can use these constants to specify a nudge direction:

typedef enum QTVRNudgeControl {
    kQTVRRight                                      = 0,
    kQTVRUpRight                                    = 45,
    kQTVRUp                                         = 90,
    kQTVRUpLeft                                     = 135,
    kQTVRLeft                                       = 180,
    kQTVRDownLeft                                   = 225,
    kQTVRDown                                       = 270,
    kQTVRDownRight                                  = 315
} QTVRNudgeControl;

The actual direction of the nudge is affected by the current control settings. For example, when the kQTVRReverseVControl control setting is enabled, the QTVRNudge function nudges up when you pass the value kQTVRDown and down when you pass the value kQTVRUp .

Constant descriptions

kQTVRRight
Nudge the current view to the right.
kQTVRUpRight
Nudge the current view up and to the right.
kQTVRUp
Nudge the current view up.
kQTVRUpLeft
Nudge the current view up and to the left.
kQTVRLeft
Nudge the current view to the left.
kQTVRDownLeft
Nudge the current view down and to the left.
kQTVRDown
Nudge the current view down.
kQTVRDownRight
Nudge the current view down and to the right.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |